package cn.kgc.tangcco.service;

import cn.kgc.tangcco.pojo.Idiom;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.concurrent.Future;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/12/29 14:51
 */
public interface IdiomService {

    public List<Idiom> findByIds(@RequestBody List<Integer> ids) throws JsonProcessingException;

    public Future<Idiom> selectById(Integer id);
}
